int button = A0;

void setup()  { 

  Serial.begin(9600);

}

void loop()  {

  int analogValue = analogRead(button);

  if (analogValue <= 10) {
    Serial.println("button not pressed");
  }

  else if (analogValue < 300) {
    Serial.println("Button 4 Pressed");
  }

  else if (analogValue < 400) {
    Serial.println("Button 3 Pressed");
  }

  else if (analogValue < 650) {
    Serial.println("Button 2 Pressed");
  }

  else if (analogValue < 1024) {
    Serial.println("Button 1 Pressed");
  }

  else {
    //hier niks doen
  }
  delay(100);
}









